package com.youdianda.service;

import com.youdianda.dto.ListAddDataDTO;
import com.youdianda.dto.YddAdvimgDTO;
import com.youdianda.entity.YddAdvimg;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youdianda.result.Result;
import com.youdianda.vo.ListDataVO;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sdy
 * @since 2023-05-15
 */
@Service
public interface IYddAdvimgService extends IService<YddAdvimg> {


    /**
     * 查询
     * @param id
     * @return
     */

    public Result Selectpos(Integer id);

    /**
     * 分页

     * @return
     */

    public Result listYddAdvimgVO(YddAdvimgDTO dto);





    /**
     * 修改
     * @param yddAdvimg
     * @return
     */

    public Result update(@RequestBody YddAdvimg yddAdvimg);



    /**
     * 删除
     * @param id
     * @return
     */
    public Result delete(Integer id);



    /**
     * 新增
     * @param
     * @return
     */
    public Result getyddvimadd( ListAddDataDTO listAddDataDTO);

}
